xend: call xc_assign_device for all the devices to hotplug
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 13 Nov 2009 21:54:44 +0000 (21:54 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 13 Nov 2009 21:54:44 +0000 (21:54 +0000)
commit42b2352e0147c7b4c369cf2bbac965dbe3589a73
tree7c3216fe441b3d056a6a48ac39e65d270b38a8c2
parent04d6becec1884d34f58421e0e3c4a3e4bd026d63
xend: call xc_assign_device for all the devices to hotplug

this patch fixes a couple of issues with pci passthrough in xend,
previously reported by Cui Dexuan.
The main problem is that xc_assign_device is called only for the first
device hotplugged into the guest and not the followings.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xend/server/pciif.py